﻿<Window x:Class="Guitar.OptionsWindow"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Options" 
    Height="520" Width="750" 
    BorderThickness="0"  AllowsTransparency="False"  WindowStyle="ToolWindow" WindowState="Normal" 
  AllowDrop="True"   WindowStartupLocation="CenterScreen" Name="OptionsWindows" Topmost="True" ShowInTaskbar="False" ShowActivated="True" ResizeMode="NoResize" Closed="OptionsWindows_Closed">

    
    <!-- Arrière plan de la fenêtre -->
    <Window.Background>
        <LinearGradientBrush Opacity="0.95" EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="Gray" Offset="0"/>
            <GradientStop Color="WhiteSmoke" Offset="1"/>
            <GradientStop Color="Gray" Offset="0.312"/>
        </LinearGradientBrush>
    </Window.Background>
    
    <!-- Bordure de la fenêtre -->
   

    <Grid x:Name="LayoutRoot">
        <Button Cursor="Hand" FontFamily="Verdana" FontSize="14" FontWeight="Bold" Foreground="White" Height="46" Margin="519,0,12,12" Template="{StaticResource BoutonRond}" VerticalAlignment="Bottom" Name="EVENT_Sauvegarder_Options" Content="Appliquer et valider" Click="EVENT_Sauvegarder_Options_Click"></Button>
        <TabControl Style="{StaticResource GlassTabControl}"  Height="398" HorizontalAlignment="Left" Margin="0,19,0,0" Name="tabControl1" VerticalAlignment="Top" Width="716" RenderTransformOrigin="0,10" >
            <TabItem Header="Générale" >
                <Grid>
                    <Label Content="Configuration affichage application" FontWeight="ExtraBold" Height="28" HorizontalAlignment="Right" Margin="0,27,255,0" Name="label21" VerticalAlignment="Top" Width="251" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="10,30,0,0" Name="image6" Source="/Guitar;component/Images/ic/view_detailed-256.png" Stretch="Fill" VerticalAlignment="Top" Width="32"  />
                    <Label Content="Configuration affichage lecteur" FontWeight="ExtraBold" Height="28" HorizontalAlignment="Right" Margin="0,167,255,0" Name="label23" VerticalAlignment="Top" Width="251" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="10,170,0,0" Name="image7" Source="/Guitar;component/Images/ic/toggle_log-256.png" Stretch="Fill" VerticalAlignment="Top" Width="32"  />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="266,201,0,0" Name="comboBoxModeAffichage" Text="" VerticalAlignment="Top" Width="120">
                        <ComboBoxItem Content="Mode Livre" />
                        <ComboBoxItem Content="Mode Normal" />
                    </ComboBox>
                    <Label Content="Mode d'affichage :" Height="28" HorizontalAlignment="Left" Margin="65,201,0,0" Name="label24" VerticalAlignment="Top" Width="133" />
                    <CheckBox Content="Démarrer en Mode plein écran" Height="16" HorizontalAlignment="Left" Margin="65,64,0,0" Name="checkBox1" VerticalAlignment="Top" />
                    <Label Content="Zoom par défault :" Height="28" HorizontalAlignment="Left" Margin="65,248,0,0" Name="label22" VerticalAlignment="Top" Width="133" />
                    <Slider Height="28" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Margin="191,248,106,0" Maximum="5" Minimum="0.1" Name="zoomSlider" Orientation="Horizontal" Value="1" VerticalAlignment="Top" Width="265" ValueChanged="zoomSlider_ValueChanged" Loaded="zoomSlider_Loaded" Template="{StaticResource HorizontalSlider}" />
                    <Label Height="28" HorizontalAlignment="Left" Margin="473,248,0,0" Name="labelZoomValue" VerticalAlignment="Top" Width="70" FontWeight="SemiBold" />
                    <CheckBox Content="Utiliser  les indicateurs de performance système (peu ralentir très légérement l'application)" Height="39" HorizontalAlignment="Left" Margin="65,86,0,0" Name="checkBox2" VerticalAlignment="Top" Width="335" />
                </Grid>
            </TabItem>
            <TabItem Header="Sons" >
                <Grid>
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="211,51,0,0" Name="Combo_moteurAudio" Text="" VerticalAlignment="Top" Width="120" SelectionChanged="Combo_moteurAudio_SelectionChanged" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="211,0,0,280" Name="Combo_peripheriqueLecture" VerticalAlignment="Bottom" Width="120" SelectionChanged="comboBox_peripheriqueLecture_SelectionChanged" />
                    <ComboBox Height="23" HorizontalAlignment="Left" Margin="211,119,0,0" Name="Combo_PeripheriqueEnregistrement" VerticalAlignment="Top" Width="120" SelectionChanged="Combo_PeripheriqueEnregistrement_SelectedIndexChanged" />
                    <Label Content="Moteur de rendu :" Height="28" HorizontalAlignment="Left" Margin="10,51,0,0" Name="label4" VerticalAlignment="Top" Width="133" />
                    <Label Content="Configuration périphériques audio" Height="28" HorizontalAlignment="Left" Margin="58,6,0,0" Name="label5" VerticalAlignment="Top" Width="211" FontWeight="ExtraBold" />
                    <Label Content="Périphérique lecture :" Height="28" HorizontalAlignment="Left" Margin="10,85,0,0" Name="label6" VerticalAlignment="Top" Width="133" />
                    <Label Content="Périphérique d'enregistrement :" Height="28" HorizontalAlignment="Left" Margin="10,119,0,0" Name="label7" VerticalAlignment="Top" Width="176" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="12,9,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="32
                           " Source="/Guitar;component/Images/ic/kmix-256.png" />
                    <Label Content="Volumes et niveaux" FontWeight="ExtraBold" Height="28" HorizontalAlignment="Left" Margin="58,193,0,0" Name="label3" VerticalAlignment="Top" Width="211" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="12,196,0,0" Name="image2" Source="/Guitar;component/Images/ic/kmix-256.png" Stretch="Fill" VerticalAlignment="Top" Width="32                            " />
                    <Label Content="Volume Lecteur :" Height="28" HorizontalAlignment="Left" Margin="10,248,0,0" Name="label8" VerticalAlignment="Top" Width="133" />
                    <Label Content="Enregistrement ( Non disponible pour l'instant) : " Height="28" HorizontalAlignment="Left" Margin="10,318,0,0" Name="label9" VerticalAlignment="Top" Width="267" />
                    <Slider Height="30" HorizontalAlignment="Left" Margin="283,246,0,0" Name="slider1" VerticalAlignment="Top" Width="236" Maximum="1" Template="{StaticResource HorizontalSlider}" />
                    <Slider Height="30" HorizontalAlignment="Left" Margin="283,316,0,0" Name="slider2" VerticalAlignment="Top" Width="236" Maximum="1" Template="{StaticResource HorizontalSlider}" />
                    <Label Content="Volume Modules :" Height="28" HorizontalAlignment="Left" Margin="10,284,0,0" Name="label11" VerticalAlignment="Top" Width="133" />
                    <Slider Height="30" HorizontalAlignment="Left" Margin="283,282,0,0" Name="slider3" VerticalAlignment="Top" Width="236" Maximum="1" Template="{StaticResource HorizontalSlider}" />
                </Grid>
            </TabItem>
            <TabItem Header="Langage et notations" >
                <Grid>
                    <ComboBox Height="26" HorizontalAlignment="Right" Margin="0,49,214,0" Name="comboBox1" VerticalAlignment="Top" Width="180" >
                        <ComboBoxItem  Selector.IsSelected="True" Name="Lang_fr" >
                            <ComboBoxItem.Content>
                                <WrapPanel>
                                    <Image Source=".\Images\fr.jpg" />
                                    <TextBlock > Français</TextBlock>
                                </WrapPanel>
                            </ComboBoxItem.Content >

                        </ComboBoxItem>
                        <ComboBoxItem Name="Lang_en"   >
                            <ComboBoxItem.Content>
                                <WrapPanel>
                                    <Image Source=".\Images\en.jpg"/>
                                    <TextBlock > Anglais</TextBlock>
                                </WrapPanel>
                            </ComboBoxItem.Content>

                        </ComboBoxItem>
                    </ComboBox>
                    <Label Content="Langue de l'interface :" Height="28" HorizontalAlignment="Left" Margin="9,49,0,0" Name="label1" VerticalAlignment="Top" Width="133" />
                    <Label Content="Notation musicale :" Height="28" HorizontalAlignment="Left" Margin="9,96,0,0" Name="label2" VerticalAlignment="Top" Width="118" />
                    <ComboBox Height="26" HorizontalAlignment="Right" Margin="0,98,214,0" Name="comboBox_lang_note" VerticalAlignment="Top" Width="180">
                        <ComboBoxItem  Selector.IsSelected="True" Name="Lang_note_fr" >
                            <WrapPanel>
                                <Image Source=".\Images\fr.jpg" />
                                <TextBlock>Française</TextBlock>
                            </WrapPanel>
                        </ComboBoxItem>
                        <ComboBoxItem Name="Lang_note_en">
                            <WrapPanel>
                                <Image Source=".\Images\en.jpg" />
                                <TextBlock>Anglaise</TextBlock>
                            </WrapPanel>
                        </ComboBoxItem>
                    </ComboBox>
                    <Label Content="Option Régionales" FontWeight="ExtraBold" Height="28" HorizontalAlignment="Left" Margin="56,10,0,0" Name="label10" VerticalAlignment="Top" Width="211" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="10,13,0,0" Name="image3" Source="/Guitar;component/Images/ic/thumbnail-256.png" Stretch="Fill" VerticalAlignment="Top" Width="32                            " />
                </Grid>
            </TabItem>
            <TabItem Header="Crédits" >
                <Grid>
                    <Label Content="Modules utilisés" FontWeight="ExtraBold" Height="28" HorizontalAlignment="Left" Margin="62,203,0,0" Name="label12" VerticalAlignment="Top" Width="211" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="16,206,0,0" Name="image4" Source="/Guitar;component/Images/ic/agt_softwareD-256.png" Stretch="Fill" VerticalAlignment="Top" Width="32                            " />
                    <Label Content="A propos" FontWeight="ExtraBold" Height="28" HorizontalAlignment="Left" Margin="56,10,0,0" Name="label13" VerticalAlignment="Top" Width="211" />
                    <Image Height="32" HorizontalAlignment="Left" Margin="10,13,0,0" Name="image5" Source="/Guitar;component/Images/ic/documentinfo-256.png" Stretch="Fill" VerticalAlignment="Top" Width="32                            " />
                    <Label Content="Fmodex audio" Height="20" HorizontalAlignment="Left" Margin="75,237,0,0" Name="label14" VerticalAlignment="Top" Width="208" Padding="1" />
                    <Label Content="WPFBookControl" Height="20" HorizontalAlignment="Left" Margin="75,254,0,0" Name="label15" Padding="1" VerticalAlignment="Top" Width="208" />
                    <Label Content="DAICHA Adil" Height="20" HorizontalAlignment="Left" Margin="75,46,0,0" Name="label17" Padding="1" VerticalAlignment="Top" Width="208" />
                    <Label Content="DEBONA Mathieu" Height="20" HorizontalAlignment="Left" Margin="75,63,0,0" Name="label18" Padding="1" VerticalAlignment="Top" Width="208" />
                    <Label Content="(c) 2011 Microsoft Reciprocal License (Ms-RL)" Height="20" HorizontalAlignment="Left" Margin="75,89,0,0" Name="label19" Padding="1" VerticalAlignment="Top" Width="294" FontStyle="Italic" />
                    <Label Content="MasterGuitarReader V alpha 0.5" Height="20" HorizontalAlignment="Left" Margin="370,362,0,0" Name="label20" Padding="1" VerticalAlignment="Top" Width="186" FontStyle="Italic" />
                </Grid>
            </TabItem>

        </TabControl>
    </Grid>
</Window>
